package org.dromara.community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 党建表(AsPartyBuilding)实体类
 *
 * @author makejava
 * @since 2024-07-31 14:21:43
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AsPartyBuilding implements Serializable {
    private static final long serialVersionUID = 212208229387098409L;
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    /**
     * 主菜单
     */
    private String category;
    /**
     * 子菜单
     */
    private String subcategory;
    /**
     * 标题
     */
    private String title;
    /**
     * 内容
     */
    private String description;
    /**
     * 党建关联的标签
     */
    private String tag;
    /**
     * 图片路径
     */
    private String url;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    private Date createdTime;
    /**
     * 修改者
     */
    private String updatedBy;
    /**
     * 修改时间
     */
    private Date updatedTime;
    /**
     * 逻辑删除
     */
    private Long isDelete;

}

